package com.yeyks.hotel.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 酒店黑名单表
 * </p>
 *
 * @author yun
 * @since 2019-11-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="HotelBlackList对象", description="酒店黑名单表")
public class HotelBlackList implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "酒店id")
    @TableField("source_id")
    private String sourceId;

    @ApiModelProperty(value = "酒店名称")
    @TableField("source_name")
    private String sourceName;

    @ApiModelProperty(value = "酒店类型")
    @TableField("source_type")
    private String sourceType;

    @ApiModelProperty(value = "状态，0取消黑名单，1加入黑名单")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;


    public static final String ID = "id";

    public static final String SOURCE_ID = "source_id";

    public static final String SOURCE_NAME = "source_name";

    public static final String SOURCE_TYPE = "source_type";

    public static final String STATUS = "status";

    public static final String CREATE_TIME = "create_time";

}
